package JavaHomework;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**Configuration注解
 */
@Configuration
public class HelloSpringConfig {
    @Bean
    public HelloSpring helloSpring(){
        return new HelloSpring();
    }
}

